package com.wodsy.phoenix.dataobject.goodsc.vo;

import java.util.HashSet;
import java.util.Set;

import com.wodsy.phoenix.dataobject.base.PhoenixRequest;

/**
 * 
 * @ClassName: GoodsPersistReq
 * @Description: 商品 的VO类
 * @author ydh
 * @date 2015年3月17日 下午6:59:00
 *
 */
public class GoodsPersistReq implements PhoenixRequest {

	private static final long serialVersionUID = 1L;

	private String name; // 商品名称
	private String title; // 商品副标题
	private Integer place; // 商品产地对应的城市字典表的最下一级的城市id
	private String number; // 商品编号
	private String description; // 商品描述(这个只是存储的一个描述的html地址)
	private Boolean producerType; // 是否原创者
	private Integer shopId; // 商品对应的店铺id
	private Boolean virtual; // 商品介质，0实物 1虚拟
	private Boolean priceless; // 非卖品标识，0为非卖品 1为可卖
	private Integer ftId; // 运费模版id
	private Boolean customization; // 是否定制，1为定制
	private Integer price; // 商品设置的默认价格
	private String pic; // 商品默认图片
	private String piclist; // 商品展示图组

	private Set<GoodsSkuPersistReq> goodsSkuPersistReq = new HashSet<GoodsSkuPersistReq>();
	private Set<GoodsTagPersistReq> goodsTagPersistReq = new HashSet<GoodsTagPersistReq>();
	private Set<GoodsMaterialPersistReq> goodsMaterialPersistReq = new HashSet<GoodsMaterialPersistReq>();

	public GoodsPersistReq(String name, String title, Integer place,
			String number, String description, Boolean producerType,
			Integer shopId, Boolean virtual, Boolean priceless, Integer ftId,
			Boolean customization, Integer price, String pic, String piclist,
			Set<GoodsSkuPersistReq> goodsSkuPersistReq,
			Set<GoodsTagPersistReq> goodsTagPersistReq,
			Set<GoodsMaterialPersistReq> goodsMaterialPersistReq) {
		this.name = name;
		this.title = title;
		this.place = place;
		this.number = number;
		this.description = description;
		this.producerType = producerType;
		this.shopId = shopId;
		this.virtual = virtual;
		this.priceless = priceless;
		this.ftId = ftId;
		this.customization = customization;
		this.price = price;
		this.pic = pic;
		this.piclist = piclist;
		this.goodsSkuPersistReq = goodsSkuPersistReq;
		this.goodsTagPersistReq = goodsTagPersistReq;
		this.goodsMaterialPersistReq = goodsMaterialPersistReq;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getPlace() {
		return place;
	}

	public void setPlace(Integer place) {
		this.place = place;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Boolean getProducerType() {
		return producerType;
	}

	public void setProducerType(Boolean producerType) {
		this.producerType = producerType;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public Boolean getVirtual() {
		return virtual;
	}

	public void setVirtual(Boolean virtual) {
		this.virtual = virtual;
	}

	public Boolean getPriceless() {
		return priceless;
	}

	public void setPriceless(Boolean priceless) {
		this.priceless = priceless;
	}

	public Integer getFtId() {
		return ftId;
	}

	public void setFtId(Integer ftId) {
		this.ftId = ftId;
	}

	public Boolean getCustomization() {
		return customization;
	}

	public void setCustomization(Boolean customization) {
		this.customization = customization;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getPiclist() {
		return piclist;
	}

	public void setPiclist(String piclist) {
		this.piclist = piclist;
	}

	public Set<GoodsSkuPersistReq> getGoodsSkuPersistReq() {
		return goodsSkuPersistReq;
	}

	public void setGoodsSkuPersistReq(Set<GoodsSkuPersistReq> goodsSkuPersistReq) {
		this.goodsSkuPersistReq = goodsSkuPersistReq;
	}

	public Set<GoodsTagPersistReq> getGoodsTagPersistReq() {
		return goodsTagPersistReq;
	}

	public void setGoodsTagPersistReq(Set<GoodsTagPersistReq> goodsTagPersistReq) {
		this.goodsTagPersistReq = goodsTagPersistReq;
	}

	public Set<GoodsMaterialPersistReq> getGoodsMaterialPersistReq() {
		return goodsMaterialPersistReq;
	}

	public void setGoodsMaterialPersistReq(
			Set<GoodsMaterialPersistReq> goodsMaterialPersistReq) {
		this.goodsMaterialPersistReq = goodsMaterialPersistReq;
	}

}
